
SPARK_HOME=/home/bigdata/apps/spark

${SPARK_HOME}/bin/spark-submit \
--class com.offcn.bigdata.spark.streaming.p2._05DriverHAApp \
--master spark://bigdata01:7077 \
--deploy-mode cluster \
--supervise \
--driver-cores 1 \
--driver-memory 600m \
--executor-memory 600m \
--executor-cores 2 \
--total-executor-cores 3 \
hdfs://ns1/jars/spark/streaming/driver-ha.jar \
2 bigdata01 9999 \
hdfs://ns1/data/spark/chk



